package com.cloudbroker.bcs.platform.ltb.bizapi.service.viewpoint.vo;

import com.cloudbroker.bcs.common.util.DateTimeUtil;
import com.cloudbroker.bcs.common.validatioin.annotation.DateValue;
import com.cloudbroker.bcs.common.validatioin.annotation.Length;
import com.cloudbroker.bcs.common.validatioin.annotation.NotBlank;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.base.vo.HSBCPSVO;

public class NewsSaveForm extends HSBCPSVO {

	private static final long serialVersionUID = 2224893683670740384L;


	@NotBlank
	@Length(max = 255)
	protected String title;
	
	@NotBlank
	@Length(max = 1024)
	protected String news_abstract;
	
	@Length(max = 4096)
	protected String content;
	
	@Length(max = 500)
	protected String link;
	
	@NotBlank
	@DateValue(pattern = DateTimeUtil.FORMAT_YYYYMMDDHHMMSS)
	protected String time;
	
	@Length(max = 128)
	protected String media;
	
	@Length(max = 500)
	protected String picture;

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getNews_abstract() {
		return news_abstract;
	}

	public void setNews_abstract(String news_abstract) {
		this.news_abstract = news_abstract;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getLink() {
		return link;
	}

	public void setLink(String link) {
		this.link = link;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public String getMedia() {
		return media;
	}

	public void setMedia(String media) {
		this.media = media;
	}

	public String getPicture() {
		return picture;
	}

	public void setPicture(String picture) {
		this.picture = picture;
	}

	@Override
	public String toString() {
		return "NewsSaveForm [title=" + title + ", news_abstract=" + news_abstract + ", content=" + content + ", link="
				+ link + ", time=" + time + ", media=" + media + ", picture=" + picture + "]";
	}

}
